import require from '@/utils/require'

/**
 * 提交表单
 * @param { object } data 表单
 * @returns 状态码 提示信息
 */
export const onSubmitForm = data => {
  return require({
    method: 'POST',
    url: 'index/index/index',
    data
  })
}
